﻿using System;


namespace KLS.PPDS.Core.Entity
{
    public class Log : BaseEntities.Entity
    {
        public Log()
        {
            //todo: get user from session
            UserId = 0;
            UserName = string.Empty;
        }

        public virtual int UserId { get; set; }
        public virtual string UserName { get; set; }
        public virtual string Feature { get; set; }
        public virtual string Object { get; set; }
        public virtual int ObjectId { get; set; }
        public virtual string Action { get; set; }
        public virtual string Company { get; set; }
        public virtual string Description { get; set; }        
        public virtual DateTime Date { get; set; }


        //#region IDisposable Members

        //public void Dispose()
        //{
        //    throw new NotImplementedException();
        //}

        //#endregion
    }
}
